package com.example.gc.webredisgc.dao;

import org.springframework.data.elasticsearch.annotations.Document;

import javax.persistence.Id;

/**
 * @author: cmy
 * @description: 考勤打卡详情
 * @date: 2018/11/22 10:01
 */

//@Document(indexName = "#{@tenantContextService.getIndex()}", type = "mis_saas")
@Document(indexName = "att_common_bussiness_attendance", type = "mis_saas")
public class MisSaasES {
    @Id
    private String id;
    //主键
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}